/**
 * FriendRelationRepository.java
 */
package com.tobeface.sns.infrastructure.persist.pal;

import com.kissme.core.orm.Page;
import com.tobeface.sns.domain.User;

/**
 * @author Dylan
 * @time 2012-7-30
 */
public interface FriendRelationRepository {

	/**
	 * @param self
	 * @param friend
	 */
	void attentionFriend(User self,User friend);
	/**
	 * @param self
	 * @param friend
	 */
	void cancelAttention(User self,User friend);
	/**
	 * @param self
	 * @return
	 */
	Page<User> attentionWho(Page<User> page,User self);
	/**
	 * @param self
	 * @return
	 */
	Page<User> whoAttention(Page<User> page,User self);
}
